{% extends "base.html" %}

{% block title %}Site Sig List{% endblock %}
{% block heading %}Site Sig List{% endblock %}

{% block leftmenu %}
	<a href='/editsitesig?new_sig=True'>Add sig</a><br/>
	<a href='/sites'>Site types</a><br/>
{% endblock %}

{% block content %}
		<p>This is pre-release functionality and does not yet work properly.</p>

		<table border='0'>
			<tr class="standard">
				<th>System</th>
				<th>Sig</th>
				<th>Type</th>
				<th>Expires</th>
				<th>Started</th>
			</tr>

		{% for sig in sigs %}
			<tr class="{% cycle odd,even%}">
				<td>{{sig.system}}</td>
				<td><a href='/editsitesig?id={{sig.key.id}}'>{{sig.sig_code}}</a></td>
				<td>{{sig.site_type}}</td>
				<td>{{sig.expires_day}}</td>
				<td>{{sig.started|yesno:"Yes,No,No"}}</td>
			</tr>
		{% endfor %}

		</table>
		
{% endblock %}
